package constant

const (
	CertificateNotAfterKey string = "notAfter"

	CertificateNotBeforeKey string = "notBefore"

	CertificateKey string = "certificate"

	PrivateKey string = "privateKey"

	DomainKey string = "dn"
)

const (
	LockKey string = "ssl:certificate:lock:key"
)

const (
	LetsEncryptAccountValidStatus string = "valid"
)

const (
	DefaultCertificateStorePath string = "/ca/"

	CertificateFileName string = "tls.crt"

	PrivateKeyFileName string = "tls.key"
)

const (
	TimeFormat string = "2006-01-02 15:04:05"

	// RedisLockTimeSeconds 加锁时间，4分半
	RedisLockTimeSeconds = 270
)

const (
	RedisHostName = "REDIS_HOST"

	RedisPortName = "REDIS_PORT"

	RedisUserName = "REDIS_USER"

	RedisPassName = "REDIS_PASS"

	RedisDbName = "REDIS_DB"

	LetsEncryptUrlName = "LETSENCRYPT_URL"
)
